﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="AccordingToClientRecords.aspx.cs" Inherits="WXYW.AccordingToClientRecords" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    按客户信息
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
    关键字<asp:TextBox ID="keyWordTextBox" runat="server" Height="16px" onkeypress="enterTxtBox('searchLinkButton')"></asp:TextBox>
    <asp:LinkButton ID="searchLinkButton" runat="server" OnClick="searchLinkButton_Click">查询</asp:LinkButton>
    <asp:LinkButton ID="resetLinkButton" runat="server" OnClick="resetLinkButton_Click">清除</asp:LinkButton>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <asp:GridView ID="userGridView" runat="server" CssClass="tableList" BorderWidth="1"
        BorderColor="#888888" AutoGenerateColumns="false" AllowPaging="true" PageSize="20"
        Width="100%" OnPageIndexChanging="userGridView_PageIndexChanging">
        <Columns>
            <asp:BoundField HeaderText="客户ID" DataField="UserName" />
            <asp:BoundField HeaderText="客户名称" DataField="FullName" />
            <asp:BoundField HeaderText="联系人" DataField="ContactPerson" />
            <asp:BoundField HeaderText="单位电话" DataField="UserPhone" />
            <asp:BoundField HeaderText="电子邮件" DataField="UserEmail" />
            <asp:BoundField HeaderText="单位地址" DataField="UserAddress" />
            <asp:TemplateField>
                <ItemTemplate>
                    <img src="image/operateicon/docview.gif" />
                    <asp:LinkButton ID="viewLinkButton" runat="server" OnClick="viewLinkButton_Click" CommandArgument='<%#Eval("UserID") %>'>查看</asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Content>
